import request from '@/utils/request'

export function elUpload(data) {
    return request({
        url: '/user/addUserAvatar',
        method: 'post',
        headers: {
            'Content-Type': 'multipart/form-data'
        },
        data: data
    })
}
export function deleteAvatar(data) {
    return request({
        url: '/user/deleteAvatar',
        method: 'post',
        data: data
    })
}